package cn.appsys.service.impl;

import cn.appsys.mapper.BackendUserMapper;
import cn.appsys.pojo.BackendUser;
import cn.appsys.service.BackendUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional(rollbackFor = Exception.class)
public class BackendUserServiceImpl implements BackendUserService {

    @Resource
    BackendUserMapper backendUserMapper;


    @Override
    public BackendUser Login(String userCode, String userPassword) {
        return backendUserMapper.Login(userCode, userPassword);
    }


}
